package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 销售维修临时表
 * </p>
 *
 * @author LX
 * @since 2018-09-12
 */
@TableName("erp_sale_repair_order_temporary")
public class ErpSaleRepairOrderTemporary extends Model<ErpSaleRepairOrderTemporary> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户 ID
     */
    @TableField("customer_id")
    private Integer customerId;
    @TableField("user_id")
    private Integer userId;
    /**
     * 销售维修日期
     */
    @TableField("sale_repair_date")
    private Date saleRepairDate;
    /**
     * 销售维修单号
     */
    @TableField("sale_repair_sheet_id")
    private String saleRepairSheetId;
    /**
     * 车辆里程
     */
    @TableField("sale_repair_mileage")
    private Double saleRepairMileage;
    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;
    /**
     * 车辆牌号
     */
    @TableField("car_plate")
    private String carPlate;
    /**
     * 挂车牌号
     */
    @TableField("trailer_plate")
    private String trailerPlate;
    /**
     * 费用合计
     */
    @TableField("sale_repair_cost")
    private Double saleRepairCost;
    /**
     * 积分消费
     */
    @TableField("sale_repair_integral_consumption")
    private Double saleRepairIntegralConsumption;
    /**
     * 实收金额
     */
    @TableField("sale_repair_paid_amount")
    private Double saleRepairPaidAmount;
    /**
     * 收款方式
     */
    @TableField("sale_repair_payment_method")
    private String saleRepairPaymentMethod;
    /**
     * 检测 本次积分
     */
    @TableField("sale_repair_integral")
    private Double saleRepairIntegral;
    /**
     * 服务经办
     */
    @TableField("service_attn")
    private String serviceAttn;
    /**
     * 库管经办
     */
    @TableField("warehouse_attn")
    private String warehouseAttn;
    /**
     * 客户经办
     */
    @TableField("customer_attn")
    private String customerAttn;
    /**
     * 财务经办
     */
    @TableField("finance_attn")
    private String financeAttn;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getSaleRepairDate() {
        return saleRepairDate;
    }

    public void setSaleRepairDate(Date saleRepairDate) {
        this.saleRepairDate = saleRepairDate;
    }

    public String getSaleRepairSheetId() {
        return saleRepairSheetId;
    }

    public void setSaleRepairSheetId(String saleRepairSheetId) {
        this.saleRepairSheetId = saleRepairSheetId;
    }

    public Double getSaleRepairMileage() {
        return saleRepairMileage;
    }

    public void setSaleRepairMileage(Double saleRepairMileage) {
        this.saleRepairMileage = saleRepairMileage;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCarPlate() {
        return carPlate;
    }

    public void setCarPlate(String carPlate) {
        this.carPlate = carPlate;
    }

    public String getTrailerPlate() {
        return trailerPlate;
    }

    public void setTrailerPlate(String trailerPlate) {
        this.trailerPlate = trailerPlate;
    }

    public Double getSaleRepairCost() {
        return saleRepairCost;
    }

    public void setSaleRepairCost(Double saleRepairCost) {
        this.saleRepairCost = saleRepairCost;
    }

    public Double getSaleRepairIntegralConsumption() {
        return saleRepairIntegralConsumption;
    }

    public void setSaleRepairIntegralConsumption(Double saleRepairIntegralConsumption) {
        this.saleRepairIntegralConsumption = saleRepairIntegralConsumption;
    }

    public Double getSaleRepairPaidAmount() {
        return saleRepairPaidAmount;
    }

    public void setSaleRepairPaidAmount(Double saleRepairPaidAmount) {
        this.saleRepairPaidAmount = saleRepairPaidAmount;
    }

    public String getSaleRepairPaymentMethod() {
        return saleRepairPaymentMethod;
    }

    public void setSaleRepairPaymentMethod(String saleRepairPaymentMethod) {
        this.saleRepairPaymentMethod = saleRepairPaymentMethod;
    }

    public Double getSaleRepairIntegral() {
        return saleRepairIntegral;
    }

    public void setSaleRepairIntegral(Double saleRepairIntegral) {
        this.saleRepairIntegral = saleRepairIntegral;
    }

    public String getServiceAttn() {
        return serviceAttn;
    }

    public void setServiceAttn(String serviceAttn) {
        this.serviceAttn = serviceAttn;
    }

    public String getWarehouseAttn() {
        return warehouseAttn;
    }

    public void setWarehouseAttn(String warehouseAttn) {
        this.warehouseAttn = warehouseAttn;
    }

    public String getCustomerAttn() {
        return customerAttn;
    }

    public void setCustomerAttn(String customerAttn) {
        this.customerAttn = customerAttn;
    }

    public String getFinanceAttn() {
        return financeAttn;
    }

    public void setFinanceAttn(String financeAttn) {
        this.financeAttn = financeAttn;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpSaleRepairOrderTemporary{" +
        ", id=" + id +
        ", customerId=" + customerId +
        ", userId=" + userId +
        ", saleRepairDate=" + saleRepairDate +
        ", saleRepairSheetId=" + saleRepairSheetId +
        ", saleRepairMileage=" + saleRepairMileage +
        ", customerName=" + customerName +
        ", carPlate=" + carPlate +
        ", trailerPlate=" + trailerPlate +
        ", saleRepairCost=" + saleRepairCost +
        ", saleRepairIntegralConsumption=" + saleRepairIntegralConsumption +
        ", saleRepairPaidAmount=" + saleRepairPaidAmount +
        ", saleRepairPaymentMethod=" + saleRepairPaymentMethod +
        ", saleRepairIntegral=" + saleRepairIntegral +
        ", serviceAttn=" + serviceAttn +
        ", warehouseAttn=" + warehouseAttn +
        ", customerAttn=" + customerAttn +
        ", financeAttn=" + financeAttn +
        "}";
    }
}
